$(function(){
	/*
	 * 加载型类
	 */
	var timestamp = Date.parse(new Date());
	$.ajax( {
		url : "/ag/zrt/loadLogType.action?ts="+timestamp,
		type : "POST",
		data : "",
		success : showData
	});
	//alert("cool");
	
	//alert("cool2");
	
	function showData(data) {
		if (data.logTypeList.length != 0) {
			$.each(data.logTypeList, function(i, info) {
				fillIntoHtml(info.ltId, info.ltName);
			});
		}
	}

	function fillIntoHtml(id, name) {
		html = "<option id=" + id + " value="+id+">" + name + "</option>";
		$('.contentType').append(html);
	}
	
	

});